chore(deps): update dependency @redocly/cli to v2 #5216
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.29.0->2.0.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Redocly/redocly-cli (@redocly/cli)
v2.0.2Compare Source
Patch Changes
executionTimeoutparameter optional in therunfunction exported fromrespect-core.v2.0.1Compare Source
Patch Changes
no-required-schema-properties-undefinedrule incorrectly resolved nested$refs relative to the file in which they were defined.v2.0.0Compare Source
Major Changes
specrule. Usestructinstead.apiDefinitionsoption in the Redocly config. Useapisinstead.Removed the
labelsfield within theapissection, which was associated with the legacy Redocly API Registry product.redocly.yaml.features.openapiandfeatures.mockServerconfiguration options. UseopenapiandmockServerdirectly instead.lintandstyleguideoptions in the Redocly config.Use
rules,decoratorsand other related options on the root level instead.disallowAdditionalPropertiesoption support in rules. UseallowAdditionalPropertiesinstead.themeproperty of Redocly config.All the properties of
themeare now available in the config root.path-excludes-patternsandinfo-license-urlrules.undefinedassertion. Usedefinedinstead.Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem.
Migrated the
loginandpushcommands to work exclusively with Reunite.Removed the
preview-docscommand as part of platform modernization.Use the
previewcommand instead.referenceDocsoption, which was related to the legacy Reference docs product.assert/prefix in configurable rules. Userule/prefix instead.Update to Node.js version 20.19.0+, 22.12.0+, or 23+.
Minor Changes
Added
x-securityextension for Respect that enables secure handling of authentication in Arazzo workflows.Use this extension to:
Added environment variable support for CLI arguments using Yargs
.env()method to parse environment variables with matching prefixes.Added validation for JSON Schema format.
Extracted
nullablevalidation from thestructrule into a newnullable-type-siblingrule for OpenAPI 3.0. This allows users to disablenullablevalidation separately from other structural checks.Configured the
specruleset for OpenAPI, AsyncAPI, Arazzo, and Overlay specifications.This ruleset is designed to strictly follow the specifications.
Added the
no-duplicated-tag-namesrule to check for duplications in thetagsfield in API descriptions.Enabled
no-required-schema-properties-undefined,no-schema-type-mismatch, andno-enum-type-mismatchrules for AsyncAPI and Arazzo specifications.Adjusted the rules' severities in the
recommendedandminimalrulesets. Refer to the following table:off->warnoff->warnerrorwarnwarn->erroroff->warnImplemented automatic masking of sensitive fields (such as tokens and passwords) in response bodies to enhance security and prevent accidental exposure of secrets in logs and outputs.
Added new CLI options for the
respectcommand to improve test execution control.Patch Changes
extendssection.no-undefined-server-variablecrash when encounteringnullvalues in the server list.@redocly/respect-coreto eliminate Node.js-specific dependencies, improving cross-platform compatibility.--configfrom a different folder than the current working directory.[email protected]injected an unintended message into the output.residencyfrom the Redocly configuration file.v1.34.5Compare Source
Patch Changes
form-datato 4.0.4 for Redocly CLI v1.v1.34.4Compare Source
Patch Changes
[email protected]injected an unintended message into the output.v1.34.3Compare Source
Patch Changes
v1.34.2Compare Source
Patch Changes
v1.34.1Compare Source
Patch Changes
v1.34.0Compare Source
Minor Changes
respectcommand execution to prevent infinite test runs. You can configure this timer using theRESPECT_TIMEOUTenvironment variable (defaults to 1 hour).Patch Changes
v1.33.1Compare Source
Patch Changes
generate-arazzocommand to properly handle output file paths. Theoutput-fileparameter must have a value when provided.v1.33.0Compare Source
Minor Changes
generate-arazzocommand now automatically generates operationPaths using the URL pattern:{$sourceDescriptions.<name>.url}#/paths/<path>/<method>.Patch Changes
v1.32.2Compare Source
Patch Changes
warn|offseverity allows subsequent steps to execute).v1.32.1Compare Source
Patch Changes
basic,bearer, andapiKeysecurity schemes in workflow generation withgenerate-arazzocommand.v1.32.0Compare Source
Minor Changes
Patch Changes
typekeyword enum, removednull.v1.31.3Compare Source
Patch Changes
v1.31.2Compare Source
Patch Changes
sourceDescriptionname generation ingenerate-arazzocommand when using OpenAPI files that contain multiple periods "." in their filenames.v1.31.1Compare Source
Patch Changes
respect-coreimport in Redocly CLI package.v1.31.0Compare Source
Minor Changes
generate-arazzocommand to scaffold Arazzo description templates out of OpenAPI descriptions.respectcommand to test APIs against Arazzo description files.Patch Changes
v1.30.0Compare Source
Minor Changes
Patch Changes
operation-tag-definedbuilt-in rule to verify tags are defined on the operation prior to matching them to a global tag.Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.